﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblOrderDetailService
	{
		private static readonly tblOrderDetailDAL db = new tblOrderDetailDAL();
		#region[tblOrderDetail_GetById]
		public static DataTable tblOrderDetail_GetById(tblOrderDetailInfo Data)
		{
			return db.tblOrderDetail_GetById(Data);
		}
		#endregion
		#region[tblOrderDetail_GetByAll]
		public static DataTable tblOrderDetail_GetByAll()
		{
			return db.tblOrderDetail_GetByAll();
		}
		#endregion
		#region[tblOrderDetail_GetByTop]
		public static DataTable tblOrderDetail_GetByTop(string Top, string Where, string Order)
		{
			return db.tblOrderDetail_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblOrderDetail_Insert]
		public static void tblOrderDetail_Insert(tblOrderDetailInfo Data)
		{
			 db.tblOrderDetail_Insert(Data);
		}
		#endregion
		#region[tblOrderDetail_Update]
		public static void tblOrderDetail_Update(tblOrderDetailInfo Data)
		{
			 db.tblOrderDetail_Update(Data);
		}
		#endregion
		#region[tblOrderDetail_Delete]
		public static void tblOrderDetail_Delete(string Data)
		{
			 db.tblOrderDetail_Delete(Data);
		}
		#endregion
		#region[tblOrderDetail_GetBy_imgid]
		public static DataTable tblOrderDetail_GetBy_imgid(string _imgid)
		{
			 return db.tblOrderDetail_GetBy_imgid(_imgid);
		}
		#endregion
	}
}